package com.wang.springboot.template01.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author: wang
 * @date: 2021/8/25 17:03
 * @description:
 */
@Controller
public class AopTestController01 {

    @RequestMapping("/test")
    @ResponseBody
    public String t1(){
        System.out.println(1/0);
        return "=====方法执行了=====";
    }

}
